<?xml version="1.0" encoding="utf-8" ?>
<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:framework="http://symfony.com/schema/dic/symfony"
    xsi:schemaLocation="http://symfony.com/schema/dic/services https://symfony.com/schema/dic/services/services-1.0.xsd
        http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

    <framework:config http-method-override="false" handle-all-throwables="true">
        <framework:annotations enabled="false" />
        <framework:php-errors log="true" />
        <framework:serializer enabled="true" />
        <framework:messenger failure-transport="failed">
            <framework:serializer default-serializer="messenger.transport.symfony_serializer" />
            <framework:transport name="default" dsn="amqp://localhost/%2f/messages" />
            <framework:transport name="customised" dsn="amqp://localhost/%2f/messages?exchange_name=exchange_name" serializer="messenger.transport.native_php_serializer" rate-limiter="customised_worker">
                <framework:options>
                    <framework:queue>
                        <framework:name>Queue</framework:name>
                    </framework:queue>
                </framework:options>
                <framework:retry-strategy max-retries="10" delay="7" multiplier="3" max-delay="100"/>
            </framework:transport>
            <framework:transport name="failed" dsn="in-memory:///" />
            <framework:transport name="redis" dsn="redis://127.0.0.1:6379/messages" />
            <framework:transport name="beanstalkd" dsn="beanstalkd://127.0.0.1:11300" />
            <framework:transport name="schedule" dsn="schedule://default" />
        </framework:messenger>
    </framework:config>
</container>
